@import './base.less';

.@{css-prefix}.input.number {
  z-index: 1;
  vertical-align: middle;

  &:hover {
    .step {
      opacity: 1;
    }
  }

  .step {
    width: 1.8em;
    opacity: 0;
    background: #f1f1f1;

    > i {
      cursor: pointer;
      z-index: 2;
      font-size: 1em;
      display: block;
      text-align: center;
      width: 100%;
      height: 50%;
      color: rgba(0, 0, 0, 0.65);
      padding-top: 2px;

      &:hover {
        background-color: rgba(0, 0, 0, 0.05);
      }
    }
  }

}
